//
//  FoundDetailsDamaiprojinfo.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/09/10
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "FoundDetailsDamaiprojinfo.h"
#import "FoundDetailsData.h"
#import "FoundDetailsProjinfo.h"
#import "FoundDetailsF.h"
#import "FoundDetailsL.h"
#import "FoundDetailsP.h"

@implementation FoundDetailsDamaiprojinfo

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"p"]) {
        _p = [FoundDetailsP modelWithDic:value];
    } else if ([key isEqualToString:@"f"]) {
        NSMutableArray *fArr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            FoundDetailsF *f = [FoundDetailsF modelWithDic:dic];
            [fArr addObject:f];
        }
        _f = fArr;
    }
}
@end
